
export function lineSeries(legend) {
  const series = [
    {
      name: legend,
      type: 'line',
      legendHoverLink: true,
      itemStyle: {
        normal: {
          color: '#409EFF'
        }
      },
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [120, 237, 101, 134, 90, 230, 210, 120, 132, 321, 134, 90, 230, 210, 120, 132, 101, 134, 300, 230, 210, 120, 132, 101]
    }
  ]
  return series
}

export function lineMultiSeries() {
  const series = [
    {
      name: '广东',
      type: 'line',
      legendHoverLink: true,
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [120, 237, 101, 134, 90, 230, 210, 120, 132, 321, 134, 90, 230, 210, 120, 132, 101, 134, 300, 230, 210, 120, 132, 101]
    },
    {
      name: '广西',
      type: 'line',
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [220, 182, 191, 234, 290, 220, 310, 220, 182, 191, 234, 290, 330, 310, 220, 182, 191, 234, 290, 330, 310, 220, 100, 191]
    },
    {
      name: '江西',
      type: 'line',
      legendHoverLink: true,
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [12, 43, 123, 321, 53, 324, 22, 54, 556, 32, 57, 233, 134, 85, 85, 99, 232, 432, 532, 123, 432, 323, 233, 434]
    },
    {
      name: '海南',
      type: 'line',
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [32, 321, 321, 322, 324, 234, 33, 121, 123, 43, 31, 433, 43, 233, 426, 236, 12, 52, 62, 131, 241, 45, 522, 522]
    },
    {
      name: '湖南',
      type: 'line',
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [123, 43, 52, 522, 533, 23, 134, 124, 198, 176, 176, 32, 233, 134, 134, 123, 124, 142, 352, 234, 342, 23, 234, 53]
    }
  ]
  return series
}

export function lineMultiSeries2() {
  const series = [
    {
      name: '电信',
      type: 'line',
      legendHoverLink: true,
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [120, 237, 101, 134, 90, 230, 210, 120, 132, 321, 134, 90, 230, 210, 120, 132, 101, 134, 300, 230, 210, 120, 132, 101]
    },
    {
      name: '联通',
      type: 'line',
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [220, 182, 191, 234, 290, 220, 310, 220, 182, 191, 234, 290, 330, 310, 220, 182, 191, 234, 290, 330, 310, 220, 100, 191]
    },
    {
      name: '移动',
      type: 'line',
      legendHoverLink: true,
      lineStyle: {
        normal: {
          width: 1
        }
      },
      data: [12, 43, 123, 321, 53, 324, 22, 54, 556, 32, 57, 233, 134, 85, 85, 99, 232, 432, 532, 123, 432, 323, 233, 434]
    }
  ]
  return series
}
